package cn.csg.iotplatform.module.system.controller.admin.auth.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


@Schema(description = "管理后台 - 账号密码登录 Request VO，如果登录并绑定社交用户，需要传递 social 开头的参数")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AuthTokenReqVO {

    @Schema(description = "客户端id", requiredMode = Schema.RequiredMode.REQUIRED, example = "iotplatform")
    //@NotEmpty(message = "客户端id不能为空")
    private String clientId;

    @Schema(description = "账号", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin")
    //@NotEmpty(message = "登录账号不能为空")
    private String username;

    @Schema(description = "密码", requiredMode = Schema.RequiredMode.REQUIRED, example = "admin123")
    //@NotEmpty(message = "密码不能为空")
    private String password;



}
